<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>旋转</title>
    <style>
        div{
            width: 100px;
            height: 75px;
            background: red;
            margin: 20px auto;
            transform: rotate(30deg);
            -ms-transform: rotate(30deg);/*适配IE9*/
            -webkit-transform: rotate(30deg);/*适配苹果浏览器*/

        }
    </style>
</head>
<body>
    <div>这是一个转的div</div>
</body>
</html>